<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:fragment  xmlns="http://www.w3.org/1999/xhtml"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:ui="http://java.sun.com/jsf/facelets"      
              xmlns:c="http://java.sun.com/jsp/jstl/core"
              xmlns:p="http://primefaces.org/ui">
    <h3>Menú de Navegación:</h3>  
        <c:choose>
            <c:when test="#{beanUsuario.estado == false}">
                <h:form>
                <p:menu>  
                    <p:submenu label="Paginas: ">  
                        <p:menuitem value="Home" icon="ui-icon-home" update="content" url="home.xhtml" immediate="true"/>
                        <p:menuitem value="Ingresar HV" icon="ui-icon-person" update="content" url="ingresar.xhtml" immediate="true"/>
                        <p:menuitem value="Consultar HV" icon="ui-icon-person" update="content" url="ingresar.xhtml" immediate="true"/>                        
                        <p:menuitem value="Editar HV" icon="ui-icon-person">

                        </p:menuitem>  
                        <p:menuitem value="Eliminar HV" icon="ui-icon-person">

                        </p:menuitem>  
                        <p:menuitem value="Usuarios" icon="ui-icon-star">

                        </p:menuitem>  
                    </p:submenu>  
                </p:menu>
                </h:form>
            </c:when>
        </c:choose>
</ui:fragment>

